package com.quanyan.place.biz;

import com.quanyan.place.entity.apiresp.RespBizPlaceBaseInfo;

import java.util.List;

/**
 * Created by jingliu on 16/6/20.
 */
public interface IPlaceRedisService {
    /**
     * 获取用户收藏的场馆列表
     * @param uid
     * @return
     */
    List<RespBizPlaceBaseInfo> getRedisBizPlaceInfos(Integer uid);

    /**
     * 用户收藏场馆
     * @param uid
     * @param respBizPlaceBaseInfo
     * @return
     */
    boolean saveRedisBizPlaceInfo(Integer uid, RespBizPlaceBaseInfo respBizPlaceBaseInfo);

    /**
     * 用户取消收藏场馆
     * @param uid
     * @param placeId
     * @return
     */
    boolean delRedisBizPlaceInfo(Integer uid, Integer placeId);
}
